package com.xiaobawang.hundouluo.utils;

public class UrlUtil {
    //网址的封装
    public static final String IP = "172.31.119.134";
    public static final String PORT = "9000";
    public static final String BASE = "http://" + IP + ":" + PORT + "/APP/";
    public static final String LOGIN = BASE + "login" ;
    public static final String REGISTER = BASE + "register" ;
    public static final String CHECK = BASE + "checkUser" ;
    public static final String CHANGE_PASSWORD = BASE + "changePassword" ;
    public static final String REPASS = BASE + "repass";
    public static final String DATA_NOW = BASE + "getsensors";
    public static final String DATA_INTERVAL = BASE + "getSensorDataByInterval";

    //请求参数的封装
    public static final String PARAM_NAME = "N";
    public static final String PARAM_PASS = "P";
    public static final String PARAM_ID = "ID";
    public static final String PARAM_SENSORNAME = "sensorName";
    public static final String PARAM_INTERVAL = "interval";
    public static final String PARAM_ROWNUM = "rowNum";
    public static final String PARAM_PHONE = "phone";

}
